# -*- coding: utf-8 -*-
from django.conf.urls import url
from django.views.generic.base import TemplateView
from django.contrib.auth.decorators import login_required, permission_required
from . import views

urlpatterns = [
    url(r'^login/$', views.LoginView.as_view(), name='login'),
    url(r'^join/$', views.JoinView.as_view(), name='join'),
    url(r'^logout/$', views.LogoutView.as_view(), name='logout'),
    url(r'^genres/$', views.show_genres),
]
